package com.jkhan.springframework.test.bean;

import java.util.HashMap;
import java.util.Map;

/**
 * @ClassName UserDao
 * @Description UserDao
 * @Author hjk
 * @Date 2022/12/13 20:44
 **/
public class UserDao {

    private static Map<String, String> hashMap = new HashMap<>();

    static {
        hashMap.put("10001", "hjk");
        hashMap.put("10002", "wqy");
        hashMap.put("10003", "韩思梧");
    }

    public String queryUserName(String uId) {
        return hashMap.get(uId);
    }

}
